<div class="row u-hide u-no-padding" data-flow-details="ros">
  <div class="col-6">
    <h4>Why are snaps good for ROS projects?</h4>
    <ul>
      <li>Bundle all the runtime requirements, including the exact version of ROS and system libraries you need.</li>
      <li>Expand the distributions supported beyond just Ubuntu.</li>
      <li>Directly and reliably control the delivery of application updates using existing infrastructure.</li>
      <li>Extremely simple creation of daemons.</li>
    </ul>
    <div class="p-flow-details__continue">
      <p>In just a few steps, you’ll have an example ROS app in the Snap Store.</p>
      <a class="p-button--positive" href="/first-snap/ros">Continue &rsaquo;</a>
    </div>
  </div>

  <div class="col-6">
    <h4>Here's an example snapcraft.yaml that uses ROS:</h4>
    <div class ="p-show-more is-collapsed" data-js="js-show-more">
      <pre class="p-code-yaml"><b>name</b>: ros-talker-listener
<b>version</b>: '0.1'
<b>summary</b>: ROS Talker/Listener Example
<b>description</b>: |
  This example launches a ROS talker and listener.

<b>confinement</b>: devmode
<b>base:</b> core18

<b>parts</b>:
  <b>ros-tutorials</b>:
    <b>plugin</b>: catkin
    <b>source</b>: https://github.com/ros/ros_tutorials.git
    <b>source-branch</b>: melodic-devel
    <b>source-space</b>: roscpp_tutorials/

<b>apps</b>:
  <b>ros-talker-listener</b>:
    <b>command</b>: roslaunch roscpp_tutorials talker_listener.launch</pre>

    {% include "home/_fsf_yaml_show_more.html" %}
    
    </div>
  </div>
</div>
